package com.enjoy.ioc.pojo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class Student {

    @Autowired
    private A a;

    @Resource
    private B b;
}
